// 发起审批
import ClassPaApp from "../views/pages/batch/InitiateApproval/ClassPaApp.vue";
import MaMoneyApp from "../views/pages/batch/InitiateApproval/MaMoneyApp.vue";
import ProvisionalApp from "../views/pages/batch/InitiateApproval/ProvisionalApp.vue";
import SealApp from "../views/pages/batch/InitiateApproval/SealApp.vue";
import SampleSApp from "../views/pages/batch/InitiateApproval/SampleSApp.vue";
import ContactlIApp from "../views/pages/batch/InitiateApproval/ContactlIApp.vue";
import MaterialPRApp from "../views/pages/batch/InitiateApproval/MaterialPRApp.vue";
import LaborApp from "../views/pages/batch/InitiateApproval/LaborApp.vue";

// import AddClass from "../views/pages/batch/InitiateApproval/AddClass.vue";//班级新增
// import CurrentDetails from "../views/pages/batch/InitiateApproval/CurrentDetails.vue";//详情
// import editClass from "../views/pages/batch/InitiateApproval/editClass.vue";//编辑
// import AddPurchase from "../views/pages/batch/InitiateApproval/AddPurchase.vue";//采购付费新增
// import AddTemporary from "../views/pages/batch/InitiateApproval/AddTemporary.vue";//临时付款新增
// import AddUseSeal from "../views/pages/batch/InitiateApproval/AddUseSeal.vue";//用章新增
// import AddSample from "../views/pages/batch/InitiateApproval/AddSample.vue";//选样新增联系单签发新增
// import AddContactlist from "../views/pages/batch/InitiateApproval/AddContactlist.vue";//联系单签发新增材料采购新增
// import AddMaterialScience from "../views/pages/batch/InitiateApproval/AddMaterialScience.vue";//劳务新增材料采购新增
// import Addlabour from "../views/pages/batch/InitiateApproval/Addlabour.vue";//劳务新增
// import CurrentClickClass from "../views/pages/batch/InitiateApproval/CurrentClickClass.vue";//申请内容详情


// 经办审批
import ClassPayment from "../views/pages/batch/HandlingApproval/ClassPayment.vue";
import MaterialProcurement from "../views/pages/batch/HandlingApproval/MaterialProcurement.vue";
import MaterialApp from "../views/pages/batch/HandlingApproval/MaterialApp.vue";
import UseSeal from "../views/pages/batch/HandlingApproval/UseSeal.vue";
import SampleApp from "../views/pages/batch/HandlingApproval/SampleApp.vue";
import ContactIssue from "../views/pages/batch/HandlingApproval/ContactIssue.vue";
import MaterialScience from "../views/pages/batch/HandlingApproval/MaterialScience.vue";
import labourServices from "../views/pages/batch/HandlingApproval/labourServices.vue";

//抄送审批
import ClassPaymentCC from "../views/pages/batch/CCApproval/ClassPayment.vue";
import MaterialProcurementCC from "../views/pages/batch/CCApproval/MaterialProcurement.vue";
import MaterialAppCC from "../views/pages/batch/CCApproval/MaterialApp.vue";
import UseSealCC from "../views/pages/batch/CCApproval/UseSeal.vue";
import SampleAppCC from "../views/pages/batch/CCApproval/SampleApp.vue";
import ContactIssueCC from "../views/pages/batch/CCApproval/ContactIssue.vue";
import MaterialScienceCC from "../views/pages/batch/CCApproval/MaterialScience.vue";
import labourServicesCC from "../views/pages/batch/CCApproval/labourServices.vue";


export default {
  //发起
  startBatchRoute () {
    let startBatchRouter = [
      {
        path: '/batch/startBatch/classPaApp',
        name: 'classPaApp',
        component: ClassPaApp,
        meta: { title: ['班组付款申请'] },
        title: '班组付款申请'
      },
      {
        path: '/batch/startBatch/MaMoneyApp',
        name: 'MaMoneyApp',
        component: MaMoneyApp,
        meta: { title: ['材料采购付款申请'] },
        title: '材料采购付款申请'
      },
      {
        path: '/batch/startBatch/ProvisionalApp',
        name: 'ProvisionalApp',
        component: ProvisionalApp,
        meta: { title: ['临时付款申请'] },
        title: '临时付款申请'
      },
      {
        path: '/batch/startBatch/SealApp',
        name: 'SealApp',
        component: SealApp,
        meta: { title: ['用章申请'] },
        title: '用章申请'
      },
      {
        path: '/batch/startBatch/SampleSApp',
        name: 'SampleSApp',
        component: SampleSApp,
        meta: { title: ['选样申请'] },
        title: '选样申请'
      },
      {
        path: '/batch/startBatch/ContactlIApp',
        name: 'ContactlIApp',
        component:ContactlIApp,
        meta: { title: ['联系单签发申请'] },
        title: '联系单签发申请'
      },
      {
        path: '/batch/startBatch/MaterialPRApp',
        name: 'MaterialPRApp',
        component:MaterialPRApp,
        meta: { title: ['材料采购申请'] },
        title: '材料采购申请'
      },
      {
        path: '/batch/startBatch/LaborApp',
        name: 'LaborApp',
        component:LaborApp,
        meta: { title: ['劳务申请'] },
        title: '劳务申请'
      },
    ]
    return startBatchRouter
  },
  //经办
  HandleBatchRoute() {
    let HandleBatchRouter = [
      {
        path: '/batch/handleBatch/ClassPayment',
        name: 'ClassPayment',
        component: ClassPayment,
        meta: { title: ['班组付款申请审批'] },
        title: '班组付款申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialProcurement',
        name: 'MaterialProcurement',
        component: MaterialProcurement,
        meta: { title: ['材料采购付款申请审批'] },
        title: '材料采购付款申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialApp',
        name: 'MaterialApp',
        component: MaterialApp,
        meta: { title: ['临时付款申请审批'] },
        title: '临时付款申请审批'
      },
      {
        path: '/batch/handleBatch/UseSeal',
        name: 'UseSeal',
        component: UseSeal,
        meta: { title: ['用章申请审批'] },
        title: '用章申请审批'
      },
      {
        path: '/batch/handleBatch/SampleApp',
        name: 'SampleApp',
        component: SampleApp,
        meta: { title: ['选样申请审批'] },
        title: '选样申请审批'
      },
      {
        path: '/batch/handleBatch/ContactIssue',
        name: 'ContactIssue',
        component: ContactIssue,
        meta: { title: ['联系单签发申请审批'] },
        title: '联系单签发申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialScience',
        name: 'MaterialScience',
        component: MaterialScience,
        meta: { title: ['材料采购申请审批'] },
        title: '材料采购申请审批'
      },
      {
        path: '/batch/handleBatch/labourServices',
        name: 'labourServices',
        component: labourServices,
        meta: { title: ['劳务申请审批'] },
        title: '劳务申请审批'
      },
    ]
    return HandleBatchRouter
  },
  //抄送
  CCApprovalRoute() {
    let CCApprovalRouter = [
      {
        path: '/batch/handleBatch/ClassPaymentCC',
        name: 'ClassPaymentCC',
        component: ClassPaymentCC,
        meta: { title: ['班组付款申请审批'] },
        title: '班组付款申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialProcurementCC',
        name: 'MaterialProcurementCC',
        component: MaterialProcurementCC,
        meta: { title: ['材料采购付款申请审批'] },
        title: '材料采购付款申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialAppCC',
        name: 'MaterialAppCC',
        component: MaterialAppCC,
        meta: { title: ['临时付款申请审批'] },
        title: '临时付款申请审批'
      },
      {
        path: '/batch/handleBatch/UseSealCC',
        name: 'UseSealCC',
        component: UseSealCC,
        meta: { title: ['用章申请审批'] },
        title: '用章申请审批'
      },
      {
        path: '/batch/handleBatch/SampleAppCC',
        name: 'SampleAppCC',
        component: SampleAppCC,
        meta: { title: ['选样申请审批'] },
        title: '选样申请审批'
      },
      {
        path: '/batch/handleBatch/ContactIssueCC',
        name: 'ContactIssueCC',
        component: ContactIssueCC,
        meta: { title: ['联系单签发申请审批'] },
        title: '联系单签发申请审批'
      },
      {
        path: '/batch/handleBatch/MaterialScienceCC',
        name: 'MaterialScienceCC',
        component: MaterialScienceCC,
        meta: { title: ['材料采购申请审批'] },
        title: '材料采购申请审批'
      },
      {
        path: '/batch/handleBatch/labourServicesCC',
        name: 'labourServicesCC',
        component: labourServicesCC,
        meta: { title: ['劳务申请审批CC'] },
        title: '劳务申请审批'
      },
    ]
    return CCApprovalRouter
  },
}
